All Questions
4 questions
0votes
2answers
422views
How does the MVC pattern actually work?
I’m still a Computer Science student, and recently I’ve had to develop a project using the MVC pattern, but without having learned in depth about how it actually works. And it’s not the first time I’...
1vote
1answer
232views
Should I place constants related to reading a specific type of file in the FileReader class or in a separate class?
I am writing a class FileFoodReader (in java if that matters) that reads input from a file containing information about foods and their nutritional values. The file has to fulfill some requirements ...
0votes
1answer
1kviews
File Transfer over Socket
I'm trying to build a simple file transfer program that transfers a file from a server to a client. I gave it a try myself by simply writing the file to an ObjectOutputStream. This didn't work. I did ...
-1votes
2answers
8kviews
Way for java program to read file from when it was stopped
I am working on an application that reads a log file, looks for a specific string, sends alert emails and saves data from the file into a database. The reading functionality is working well, but I am ...